package io.renren.modules.generator.service.impl;

import com.baomidou.mybatisplus.service.IService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.modules.generator.dao.StudentsDao;
import io.renren.modules.generator.entity.StudentsEntity;
import io.renren.modules.generator.service.StudentsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service("StudentsService")
public class StudentsServiceImpl extends ServiceImpl<StudentsDao,StudentsEntity> implements StudentsService {

    @Override
    public void addStudents(StudentsEntity studentsEntity) {
        Integer rows = baseMapper.insert(studentsEntity);
    }

    @Override
    public void updateInfo(Integer id, StudentsEntity studentsEntity) {

    }

    @Override
    public void deleteStudentById(Integer id) {

    }

    @Override
    public PageUtils listStudent(Map<String, Object> params) {
        return null;
    }
}
